<?php
declare(strict_types=1);
namespace cms\system\admin\mvc_controller;

use Hyperf\HttpServer\Annotation\AutoController;
use Psr\Http\Message\ResponseInterface;

/**
 * Class AdminController
 * @package cms\system\admin\mvc_controller
 * @AutoController(prefix="mvc/system/admin_menu")
 */
class MenuController extends AbstractController
{
    /**
     * @return ResponseInterface
     */
    public function retrieve(): ResponseInterface
    {
        return $this->template();
    }

    /**
     * @return ResponseInterface
     */
    public function create(): ResponseInterface
    {
        return $this->template([], 'form');
    }
}